/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const tokenRouter = {
  path: '/token',
  component: Layout,
  redirect: 'noRedirect',
  name: 'ComponentDemo',
  meta: {
    title: 'TokenManager',
    icon: 'password'
  },
  children: [
    {
      path: 'user',
      component: () => import('@/views/token-manager/user'),
      name: 'User',
      meta: { title: '用户级' }
    },
    {
      path: 'app',
      component: () => import('@/views/token-manager/app'),
      name: 'App',
      meta: { title: '应用级' }
    }
  ]
}

export default tokenRouter
